package cn.edu.ujn.dao;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.dao.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer user_id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer user_id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    public User findUser(@Param("usercode") String usercode,@Param("password") String password);

    //查询
	List<User> selectUserList(HashMap map);

	int selectUserListCount(String keyWord);
	
	User selectByUserCode(String user_code);
}